package com.menu.Pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsVo {
    @ApiModelProperty(value = "商品Id")
    private Integer goodsId;
    @ApiModelProperty(value = "商品封面图,修改时必须带上")
    private String goodsSurfaceimg;
    @ApiModelProperty(value = "销售量")
    private Integer goodsSale;
    @JsonIgnore
    @ApiModelProperty(value = "商品价格整数",hidden = true)
    private Integer goodsPriceInt;
    @JsonIgnore
    @ApiModelProperty(value = "商品价格小数",hidden = true)
    private Integer goodsPriceDec;
    @ApiModelProperty(value = "商品价格")
    private String goodsPrice;
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
}
